package com.skywo.demo1.common.result

enum class ResultCode(
    val code: Int,
    val message: String
) {
    SUCCESS(200, "成功"),
    FAIL(40001, "失败"),
    NOT_LOGIN(40003, "请先登录"),
    PARAM_ERROR(40000, "参数错误"),
    FORBIDDEN(40300, "禁止访问"),
    NOT_FOUND(40400, "资源不存在"),
    SERVER_ERROR(50000, "服务器错误，请联系管理员");
}